package com.masterclient.app.modules.purchase.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.eoner.baselibrary.bean.purchase.StepPricesItemBean;
import com.masterclient.app.R;

/**
 * @auther hjian
 * @date 2020/9/18.
 */
public class PurchaseAttributesPriceAdapter extends BaseQuickAdapter<StepPricesItemBean, BaseViewHolder> {


    public PurchaseAttributesPriceAdapter() {
        super(R.layout.item_purchase_sku_price);
    }

    @Override
    protected void convert(BaseViewHolder helper, StepPricesItemBean item) {

        helper.setText(R.id.item_purchase_price_key,item.getNum_text())
                .setText(R.id.item_purchase_price_value, item.getPrice_text());
    }

}
